﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JuCloudy.Service.Intreface
{
    public interface jService
    {
        String Insert(String JsonOfEntity);

        String Delete(String JsonOfEntity);

        String GetEntity(String Query);

        String GetEntities();
    }

    public interface jContainer<TEntity>
        where TEntity:class,new()
    {
        List<TEntity> Insert(TEntity Entity);
        List<TEntity> Delete(TEntity Entity);
        List<TEntity> GetEntity(String Query);
        List<TEntity> GetEntities();
    }
}
